home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / a_utils / perl / mac-perl / mcprl402.bin / Perl_src / t / op / mkdir.t < prev    next >
MacBinary  |  1992-01-05  |  1.1 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert E-Tracker Chiptune (music/eTracker) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Simis (archive/simis) ext Unsupported
1% dexvert TADS (other/tads) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Sun Jan 5 15:59:54 1992, modified Sun Jan 5 15:59:54 1992, creator 'MPS ', type ASCII, 471 bytes "mkdir.t" default (weak)
99% file a ./perl script executable (binary data), at 0x257 428 bytes resource default (weak)
98% file a ./perl script executable (binary data) default (weak)
97% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 07 6d 6b 64 69 72 2e | 74 00 00 00 00 00 00 00 |..mkdir.|t.......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 00 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 01 d7 00 | 00 01 ac a5 8d 22 4a a5 |........|....."J.|
|00000060| 8d 22 4a 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |."J.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 f7 db 00 00 |........|........|
|00000080| 23 21 2e 2f 70 65 72 6c | 0d 0d 23 20 24 48 65 61 |#!./perl|..# $Hea|
|00000090| 64 65 72 3a 20 6d 6b 64 | 69 72 2e 74 2c 76 20 34 |der: mkd|ir.t,v 4|
|000000a0| 2e 30 20 39 31 2f 30 33 | 2f 32 30 20 30 31 3a 35 |.0 91/03|/20 01:5|
|000000b0| 33 3a 33 39 20 6c 77 61 | 6c 6c 20 4c 6f 63 6b 65 |3:39 lwa|ll Locke|
|000000c0| 64 20 24 0d 0d 70 72 69 | 6e 74 20 22 31 2e 2e 37 |d $..pri|nt "1..7|
|000000d0| 5c 6e 22 3b 0d 0d 60 44 | 65 6c 65 74 65 20 2d 79 |\n";..`D|elete -y|
|000000e0| 20 62 6c 75 72 66 6c 60 | 3b 0d 0d 70 72 69 6e 74 | blurfl`|;..print|
|000000f0| 20 28 6d 6b 64 69 72 28 | 27 62 6c 75 72 66 6c 27 | (mkdir(|'blurfl'|
|00000100| 2c 30 37 37 37 29 20 3f | 20 22 6f 6b 20 31 5c 6e |,0777) ?| "ok 1\n|
|00000110| 22 20 3a 20 22 6e 6f 74 | 20 6f 6b 20 31 5c 6e 22 |" : "not| ok 1\n"|
|00000120| 29 3b 0d 70 72 69 6e 74 | 20 28 6d 6b 64 69 72 28 |);.print| (mkdir(|
|00000130| 27 62 6c 75 72 66 6c 27 | 2c 30 37 37 37 29 20 3f |'blurfl'|,0777) ?|
|00000140| 20 22 6e 6f 74 20 6f 6b | 20 32 5c 6e 22 20 3a 20 | "not ok| 2\n" : |
|00000150| 22 6f 6b 20 32 5c 6e 22 | 29 3b 0d 70 72 69 6e 74 |"ok 2\n"|);.print|
|00000160| 20 28 24 21 20 3d 7e 20 | 2f 65 78 69 73 74 2f 20 | ($! =~ |/exist/ |
|00000170| 3f 20 22 6f 6b 20 33 5c | 6e 22 20 3a 20 22 6e 6f |? "ok 3\|n" : "no|
|00000180| 74 20 6f 6b 20 33 5c 6e | 22 29 3b 0d 70 72 69 6e |t ok 3\n|");.prin|
|00000190| 74 20 28 2d 64 20 27 62 | 6c 75 72 66 6c 27 20 3f |t (-d 'b|lurfl' ?|
|000001a0| 20 22 6f 6b 20 34 5c 6e | 22 20 3a 20 22 6e 6f 74 | "ok 4\n|" : "not|
|000001b0| 20 6f 6b 20 34 5c 6e 22 | 29 3b 0d 70 72 69 6e 74 | ok 4\n"|);.print|
|000001c0| 20 28 72 6d 64 69 72 28 | 27 62 6c 75 72 66 6c 27 | (rmdir(|'blurfl'|
|000001d0| 29 20 3f 20 22 6f 6b 20 | 35 5c 6e 22 20 3a 20 22 |) ? "ok |5\n" : "|
|000001e0| 6e 6f 74 20 6f 6b 20 35 | 5c 6e 22 29 3b 0d 70 72 |not ok 5|\n");.pr|
|000001f0| 69 6e 74 20 28 72 6d 64 | 69 72 28 27 62 6c 75 72 |int (rmd|ir('blur|
|00000200| 66 6c 27 29 20 3f 20 22 | 6e 6f 74 20 6f 6b 20 36 |fl') ? "|not ok 6|
|00000210| 5c 6e 22 20 3a 20 22 6f | 6b 20 36 5c 6e 22 29 3b |\n" : "o|k 6\n");|
|00000220| 0d 70 72 69 6e 74 20 28 | 24 21 20 3d 7e 20 2f 73 |.print (|$! =~ /s|
|00000230| 75 63 68 7c 65 78 69 73 | 74 2f 20 3f 20 22 6f 6b |uch|exis|t/ ? "ok|
|00000240| 20 37 5c 6e 22 20 3a 20 | 22 6e 6f 74 20 6f 6b 20 | 7\n" : |"not ok |
|00000250| 37 5c 6e 22 29 3b 0d 00 | 00 00 00 00 00 00 00 00 |7\n");..|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>|
|00000290| 20 09 09 09 09 09 b6 0d | 09 09 09 09 09 7b 4c 69 | .......|.....{Li|
|000002a0| 62 72 61 72 69 65 73 7d | 52 54 4c 69 62 2e 6f 20 |braries}|RTLib.o |
|000002b0| 07 6d 6b 64 69 72 2e 74 | 02 00 00 00 54 45 58 54 |.mkdir.t|....TEXT|
|000002c0| 4d 50 53 20 00 00 00 00 | 00 00 00 00 00 00 75 8d |MPS ....|......u.|
|000002d0| 00 00 54 45 58 54 4d 50 | 53 20 00 00 00 00 00 00 |..TEXTMP|S ......|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 a5 8c 0c 34 00 00 | 01 d7 00 00 01 ac 09 09 |.....4..|........|
|00000300| 09 7b 4c 69 62 72 61 72 | 69 65 73 7d 54 6f 6f 6c |.{Librar|ies}Tool|
|00000310| 4c 69 62 73 2e 6f 09 09 | 09 09 09 b6 0d 09 09 09 |Libs.o..|........|
|00000320| 09 09 7b 43 4c 69 62 72 | 61 72 69 65 73 7d 4d 61 |..{CLibr|aries}Ma|
|00000330| 74 68 2e 6f 20 09 09 09 | 09 09 09 b6 0d 09 09 09 |th.o ...|........|
|00000340| 09 09 7b 43 4c 69 62 72 | 61 72 69 65 73 7d 43 53 |..{CLibr|aries}CS|
|00000350| 41 4e 45 4c 69 62 2e 6f | 0d 0d 48 65 61 64 65 72 |ANELib.o|..Header|
|00000360| 46 69 6c 65 73 20 3d 20 | 09 7b 50 65 72 6c 53 72 |Files = |.{PerlSr|
|00000370| 63 7d 45 58 54 45 52 4e | 2e 68 20 09 09 09 09 09 |c}EXTERN|.h .....|
|00000380| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 6c 77 61 |...H..Mo|naco.lwa|
|00000390| 6c 6c 20 4c 6f 63 6b 65 | 64 20 24 0d 0d 70 72 69 |ll Locke|d $..pri|
|000003a0| 6e 74 20 22 31 2e 00 06 | 00 03 00 64 00 1c 01 dd |nt "1...|...d....|
|000003b0| 02 3d 00 64 00 1c 01 dd | 02 3d a5 8c ea 0a 00 00 |.=.d....|.=......|
|000003c0| 01 3b 00 00 01 6e 00 00 | 00 00 01 00 00 00 00 1e |.;...n..|........|
|000003d0| 00 64 00 1c 01 dd 02 3d | 00 64 00 1c 01 dd 02 3d |.d.....=|.d.....=|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 00 2b |.....n..|.n...>.+|
|00000400| a4 ec 0d 98 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |........|.>..MPSR|
|00000410| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........|
|00000420| 03 f0 ff ff 00 00 00 4c | 00 31 ac b0 00 00 00 00 |.......L|.1......|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+